Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Export Failure for unbounded tzinfo timezone

#12

context "bug report from Noboyuki Tomizawa" do

before(:each) do

  @it = RiCal.Calendar do |cal|
    cal.event do |event|
      event.description = "test"
      event.dtstart = "TZID=Asia/Tokyo:20090530T123000"
      event.dtend =   "TZID=Asia/Tokyo:20090530T123001"
    end
  end
end

it "should not fail" do
  lambda {@it.export}.should_not raise_error
end

end

This raises an error because Tokyo stopped using daylight saving time in the 1950s. The TzInfoTimezone class was not handling the end of the chain of TZInfo::Timezone periods correctly

Reported by Rick DeNatale · June 11th, 2009 @ 01:59 PM

State: resolved
Milestone: none
Assigned to: Rick DeNatale Rick DeNatale

Activity

  1. Rick DeNatale
    Rick DeNatale
    • Assigned user set to Rick DeNatale
    • State changed from new to resolved

    Fixed in 0.6.2

    June 14th, 2009 @ 09:49 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.